package com.atguigu.gmall.publisher.service.impl;

import com.atguigu.gmall.publisher.bean.IsNewVisitorTypeStats;
import com.atguigu.gmall.publisher.mapper.IsNewVisitorTypeStatsMapper;
import com.atguigu.gmall.publisher.service.IsNewVisitorTypeStatsServince;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class IsNewVisitorTypeStatsServinceImp implements IsNewVisitorTypeStatsServince {
    @Autowired
    private IsNewVisitorTypeStatsMapper isNewVisitorTypeStatsMapper;
    @Override
    public List<IsNewVisitorTypeStats> getVisitorTypeStats(Integer date) {
        return isNewVisitorTypeStatsMapper.selectVisitorTypeStats(date);
    }
}
